/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.celiosilva.simbanc.teste;

/**
 *
 * @author celio@celiosilva.com
 */
public class StringBufferBuilderTest {

    public static void main(String... args){
        StringBuilder sb = new StringBuilder();
        sb.append("celio batista da silva");
        System.out.println(sb);
        sb.delete(1, 3);
        System.out.println(sb);
        System.out.println(sb.indexOf("silva"));
        sb.replace(5, 10, " teste ");
        System.out.println(sb);
        sb.reverse();
        System.out.println(sb);

    }
}
